package cc.comac.mom.api.config;

import cc.comac.mom.bean.config.EquipLabelConfigParamBean;
import cc.comac.mom.entity.config.EquipLabelConfigEntity;
import cc.comac.mom.util.ResultBean;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(name = "mom-equipment-mgmt-srv")
public interface EquipLabelConfigService {

	@RequestMapping(value = "/p/cs/EquipLabelConfigService/save",method = RequestMethod.POST)
	ResultBean save(@RequestBody EquipLabelConfigEntity obj);

	@RequestMapping(value = "/p/cs/EquipLabelConfigService/update",method = RequestMethod.POST)
	ResultBean update(@RequestBody EquipLabelConfigEntity obj);

	@RequestMapping(value = "/p/cs/EquipLabelConfigService/delete",method = RequestMethod.POST)
	ResultBean delete(@RequestBody EquipLabelConfigEntity obj);

	@RequestMapping(value = "/p/cs/EquipLabelConfigService/getById",method = RequestMethod.POST)
	ResultBean getById(@RequestBody EquipLabelConfigEntity obj);

	@RequestMapping(value = "/p/cs/EquipLabelConfigService/selectByCondition",method = RequestMethod.POST)
	ResultBean selectByCondition(@RequestBody EquipLabelConfigParamBean obj);
	}
